package com.dayuanit.dy16.ebook.ebookweb.listener;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class MySpringbootRunner implements ApplicationRunner {

    public MySpringbootRunner() {
        System.out.println(">>>>>>>>>>>>MySpringbootRunner()");
    }
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>> MySpringbootRunner");
    }
}
